// 导入封装的request.js
import request from '@/utils/request'

// 列表接口
export const getAdminListApi = (params) => {
  return request({
    url: '/sys_user/list',
    method: 'get',
    params
  })
}

// 新增接口
export const addAdminApi = (data) => {
  return request({
    url: '/sys_user/add',
    method: 'post',
    data
  })
}
